package com.toocms.jinjuhang.data.center

data class OrganizationData(
    val organization_id: String?,
    val type: String?,
    val members: String?,
    val commissioner: String?,
    val real_name: String?,
    val member_sn: String?,
    val orders: String?,
    val order_amounts: String?,
    val brokerage: String?,
    val avatar_path: String?,
    val address: AddressDetailsData?
) {
    var withdraw_amounts: String? = null
        get() {
            return if (!field.isNullOrEmpty()) field else "00"
        }
    var balance: String? = null
        get() {
            return if (!field.isNullOrEmpty()) field else "00"
        }
    var yesterday: String? = null
        get() {
            return if (!field.isNullOrEmpty()) field else "00"
        }
    var income: String? = null
        get() {
            return if (!field.isNullOrEmpty()) field else "00"
        }
}